home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 June / EnigmA AMIGA RUN 19 (1997)(G.R. Edizioni)(IT)[!][issue 1997-06][EAR-CD III].iso / earkit / useful / hsc / src_docs / makefile.bak < prev    next >
Makefile  |  1996-11-24  |  6KB  |  194 lines

  1. #
  2. # Makefile for hsc-documentation
  3. #
  4.  
  5. #
  6. # DESTDIR  - destination directory (relative)
  7. # IGNORE   - messages to be ignored
  8. # PRJFILE  - project file
  9. # STDINC   - standard includes for all sources
  10. # HSCMISC  - miscellaneous flags and options
  11. # HSC      - shell command that invokes hsc
  12. # HSCFLAGS - hsc options
  13. #
  14. # HSCDEPP  - shell command to invoke hscdepp
  15. # HSCPITT  - shell command to invoke hscpitt
  16. #
  17.  
  18. PARENT    = ../
  19. #PARENT    = /
  20. DESTDIR = $(PARENT)docs/
  21. IGNORE  =ign=46
  22. PRJFILE =hsc.project
  23. STDINC  =inc/macro.hsc inc/webpage.hsc
  24. HSCMISC    =rplcent getsize compact mode=pedantic prefsfile=$(PARENT)hsc.prefs #quotemode=double
  25.  
  26. HSC     =$(PARENT)hsc
  27. HSCFLAGS=$(HSCMISC) $(IGNORE) prjfile=$(PRJFILE) to=$(DESTDIR) $(STDINC) \
  28.         msgansi status=quiet
  29.  
  30. HSCDEPP = $(PARENT)hscdepp
  31. HSCPITT = $(PARENT)hscpitt
  32.  
  33. .PHONY: all all_hsc
  34.  
  35. #
  36. # rule to update whole docs
  37. #
  38. all : all_hsc /index.html
  39.  
  40. #
  41. # implicit rule for html-files
  42. #
  43. $(DESTDIR)%.html : %.hsc
  44.     @echo $@
  45.     @$(HSC) $(HSCFLAGS) $< 
  46.  
  47. #
  48. # update dependencies
  49. #
  50. depend :
  51.     $(HSCDEPP) file=Makefile prjfile=$(PRJFILE) verbose
  52.  
  53. #
  54. # add new file / change includes of existing file
  55. #
  56. # example: make NEW FILE=new.hsc "INCLUDE=inc/macro.hsc inc/sepp.hsc"
  57. #
  58. NEW :
  59. ifndef FILE
  60.     @echo *** pleaese specify variable FILE (and on your option INCLUDE)
  61. else
  62.     $(HSC) $(HSCFLAGS) $(INCLUDE) from=$(FILE) 
  63. endif
  64.  
  65.  
  66. #
  67. # main page
  68. #
  69. $(PARENT)index.html : main_index.hsc
  70.     $(HSC) to=$@ $(HSCMISC) $<
  71.  
  72. # --- DO NOT MODIFY THIS LINE -- hsc-dependencies follow ---
  73.  
  74. # dependencies updated: Sunday 24-Nov-1996 15:18:58
  75.  
  76. all_hsc : ../docs/features/spctags.html ../docs/features/exec.html \
  77.     ../docs/updates.html ../docs/features/expressions.html \
  78.     ../docs/future.html ../docs/features/syntax.html \
  79.     ../docs/macro/attrib.html ../docs/macro/flag.html \
  80.     ../docs/macro/macros.html ../docs/project/prjfile.html \
  81.     ../docs/project/makefile.html ../docs/project/make.html \
  82.     ../docs/about.html ../docs/copy.html ../docs/examples.html \
  83.     ../docs/require.html ../docs/source.html ../docs/features/absuris.html \
  84.     ../docs/features/if.html ../docs/features/prefs.html \
  85.     ../docs/features/rplcent.html ../docs/distrib.html ../docs/related.html \
  86.     ../docs/features/strip.html ../docs/features/spcattr.html \
  87.     ../docs/features/getsize.html ../docs/questions.html \
  88.     ../docs/project/index.html ../docs/project/hscdepp.html \
  89.     ../docs/fileargs.html ../docs/install.html ../docs/messages.html \
  90.     ../docs/author.html ../docs/features/checkuri.html ../docs/index.html \
  91.     ../docs/ports.html ../docs/envvar.html ../docs/options.html \
  92.     ../docs/bugs.html ../docs/project/hscpitt.html
  93.  
  94. ../docs/features/spctags.html : features/spctags.hsc inc/macro.hsc \
  95.     inc/webpage.hsc
  96.  
  97. ../docs/features/exec.html : features/exec.hsc inc/macro.hsc \
  98.     inc/webpage.hsc exmpl/exec.hsc exmpl/exec.hsc
  99.  
  100. ../docs/updates.html : updates.hsc inc/macro.hsc inc/webpage.hsc
  101.  
  102. ../docs/features/expressions.html : features/expressions.hsc inc/macro.hsc \
  103.     inc/webpage.hsc
  104.  
  105. ../docs/future.html : future.hsc inc/macro.hsc inc/webpage.hsc
  106.  
  107. ../docs/features/syntax.html : features/syntax.hsc inc/macro.hsc \
  108.     inc/webpage.hsc
  109.  
  110. ../docs/macro/attrib.html : macro/attrib.hsc inc/macro.hsc inc/webpage.hsc
  111.  
  112. ../docs/macro/flag.html : macro/flag.hsc inc/macro.hsc inc/webpage.hsc
  113.  
  114. ../docs/macro/macros.html : macro/macros.hsc inc/macro.hsc inc/webpage.hsc \
  115.     exmpl/m_addr.hsc exmpl/m_addr.hsc exmpl/m_file.hsc exmpl/m_next.hsc \
  116.     exmpl/m_next.hsc
  117.  
  118. ../docs/project/prjfile.html : project/prjfile.hsc inc/macro.hsc \
  119.     inc/webpage.hsc
  120.  
  121. ../docs/project/makefile.html : project/makefile.hsc inc/macro.hsc \
  122.     inc/webpage.hsc
  123.  
  124. ../docs/project/make.html : project/make.hsc inc/macro.hsc inc/webpage.hsc
  125.  
  126. ../docs/about.html : about.hsc inc/macro.hsc inc/webpage.hsc
  127.  
  128. ../docs/copy.html : copy.hsc inc/macro.hsc inc/webpage.hsc
  129.  
  130. ../docs/examples.html : examples.hsc inc/macro.hsc inc/webpage.hsc
  131.  
  132. ../docs/require.html : require.hsc inc/macro.hsc inc/webpage.hsc
  133.  
  134. ../docs/source.html : source.hsc inc/macro.hsc inc/webpage.hsc
  135.  
  136. ../docs/features/absuris.html : features/absuris.hsc inc/macro.hsc \
  137.     inc/webpage.hsc
  138.  
  139. ../docs/features/if.html : features/if.hsc inc/macro.hsc inc/webpage.hsc
  140.  
  141. ../docs/features/prefs.html : features/prefs.hsc inc/macro.hsc \
  142.     inc/webpage.hsc
  143.  
  144. ../docs/features/rplcent.html : features/rplcent.hsc inc/macro.hsc \
  145.     inc/webpage.hsc
  146.  
  147. ../docs/distrib.html : distrib.hsc inc/macro.hsc inc/webpage.hsc
  148.  
  149. ../docs/related.html : related.hsc inc/macro.hsc inc/webpage.hsc
  150.  
  151. ../docs/features/strip.html : features/strip.hsc inc/macro.hsc \
  152.     inc/webpage.hsc
  153.  
  154. ../docs/features/spcattr.html : features/spcattr.hsc inc/macro.hsc \
  155.     inc/webpage.hsc exmpl/anchor.hsc exmpl/anchor.hsc
  156.  
  157. ../docs/features/getsize.html : features/getsize.hsc inc/macro.hsc \
  158.     inc/webpage.hsc
  159.  
  160. ../docs/questions.html : questions.hsc inc/macro.hsc inc/webpage.hsc
  161.  
  162. ../docs/project/index.html : project/index.hsc inc/macro.hsc \
  163.     inc/webpage.hsc
  164.  
  165. ../docs/project/hscdepp.html : project/hscdepp.hsc inc/macro.hsc \
  166.     inc/webpage.hsc
  167.  
  168. ../docs/fileargs.html : fileargs.hsc inc/macro.hsc inc/webpage.hsc
  169.  
  170. ../docs/install.html : install.hsc inc/macro.hsc inc/webpage.hsc
  171.  
  172. ../docs/messages.html : messages.hsc inc/macro.hsc inc/webpage.hsc
  173.  
  174. ../docs/author.html : author.hsc inc/macro.hsc inc/webpage.hsc
  175.  
  176. ../docs/features/checkuri.html : features/checkuri.hsc inc/macro.hsc \
  177.     inc/webpage.hsc
  178.  
  179. ../docs/index.html : index.hsc inc/macro.hsc inc/webpage.hsc
  180.  
  181. ../docs/ports.html : ports.hsc inc/macro.hsc inc/webpage.hsc
  182.  
  183. ../docs/envvar.html : envvar.hsc inc/macro.hsc inc/webpage.hsc
  184.  
  185. ../docs/options.html : options.hsc inc/macro.hsc inc/webpage.hsc
  186.  
  187. ../docs/bugs.html : bugs.hsc inc/macro.hsc inc/webpage.hsc
  188.  
  189. ../docs/project/hscpitt.html : project/hscpitt.hsc inc/macro.hsc \
  190.     inc/webpage.hsc
  191.  
  192. # --- DO NOT MODIFY THIS LINE -- hsc-dependencies precede ---
  193.